package org.edu.service.impl.manage;


import org.edu.bean.Illegalreg;
import org.edu.common.BaseDao;
import org.edu.service.manage.IllegalManageService;
import org.springframework.stereotype.Service;
/**
 * 
 * @author 杨霞
 *
 * 2011-5-6
 */
@Service
public class IllegalServiceImpl extends BaseDao<Illegalreg> implements IllegalManageService {

	public void deleteIlleagl(Illegalreg illEgal) {
		hibernateTemplate.delete(illEgal);
	}

	public void updateIllegal(Illegalreg illEgal) {
		hibernateTemplate.update(illEgal);
		hibernateTemplate.flush();
	}


}
